From: Alynx Zhou Date: Mon, 4 Jul 2022 04:01:41 +0000 (+0800) Subject: screenshot: Always raise UI to top when opening X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~281 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d14bb7b536625605e9e208650c817d698cfc5bb2;p=gnome-shell.git screenshot: Always raise UI to top when opening Part-of: --- diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index a84cd0a44..bdbf7134f 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -1506,6 +1506,10 @@ var ScreenshotUI = GObject.registerClass({ // pop their grabs. Main.layoutManager.emit('system-modal-opened'); + const { screenshotUIGroup } = Main.layoutManager; + screenshotUIGroup.get_parent().set_child_above_sibling( + screenshotUIGroup, null); + const grabResult = this._grabHelper.grab({ actor: this, onUngrab: () => this.close(),